home *** CD-ROM | disk | FTP | other *** search
- ## load_sendkeys_service
- # Load the SENDKEYS service described in the registry key:
- # Software\\Tomasello Software\\WinCron\\services\sendkeys"
- # This entry must have a key named "library" that has a value which is the name of the
- # DLL to load to implement the service.
- # Other optional keys are "module" and "path"
- {
- -name load_sendkeys_service
- -start
- -stop
-
- # load the actual service library
- -action -print Loading SENDKEYS Service...
- -action -onerror load_fail
- -action -load -service sendkeys
-
- # call the meta function to get the DLL version information
- -action -onerror version_fail
- -action -sendkeys SENDKEYS.VERSION
- -action -print %SENDKEYS.VERSION%
- }
-
- # load service failed
- {
- -name load_fail
- -action -print Loading the SENDKEYS service failed with error:
- -action -print %TG.LAST_ERROR%
- -action -return abort
- }
-
- # get version failed
- {
- -name version_fail
- -action -print SENDKEYS Library did not implement the standard version call:
- -action -print %TG.LAST_ERROR%
- -action -return abort
- }
-